package com.ysj.aipicturebe.model.msg;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ThumbEvent {
    private Long userId;
    private Long pictureId;
//    // INCR/DECR
    private EventType type;
    private LocalDateTime eventTime;
//
    public enum EventType {
        INCR,//点赞
        DECR//取消点赞
    }
}